---
title: cleanupNumericValues
svgo:
  pluginId: cleanupNumericValues
  defaultPlugin: true
  parameters:
    floatPrecision:
      description: Number of decimal places to round to, using conventional rounding rules.
      default: 3
    leadingZero:
      description: If to trim leading zeros.
      default: true
    defaultPx:
      description: If to remove the units when it's `px`, as this is the default if not specified.
      default: true
    convertToPx:
      description: If to convert absolute units like `cm` and `in` to `px`.
      default: true
---

Rounds numeric values, removes the unit when it's `px` as this is the default, and removes redundant spaces around and between numbers.
